var express = require('express');
var router = express.Router();

router.get("/one",(req,resp)=>{

    setTimeout(() => {
        resp.end("1111111")
    }, Math.random()*5000);
});
router.get("/two",(req,resp)=>{

    setTimeout(() => {
        resp.end("2222222")
    }, Math.random()*5000);
});
router.get("/three",(req,resp)=>{

    setTimeout(() => {
        resp.end("33333")
    }, Math.random()*5000);
});
router.get("/four",(req,resp)=>{

    setTimeout(() => {
        resp.end("44444")
    }, Math.random()*5000);
});


module.exports=router;